import request from "@/utils/request";

export const getList=(categoryId)=>{
    return request({
        url:`/mall/product/contract-extra/getListByCategoryId/${categoryId}`,
        method:"post"
    })
}

/**
 * 保存合同备注
*/
export const saveContractExtra=(data)=>{
    return request({
        url:`/mall/product/contract-extra/commit`,
        method:"post",
        data
    })
}

/**
 * 删除合同备注
 */
export const deleteContractExtra=(data)=>{
    return request({
        url:`/mall/product/contract-extra/delete`,
        method:"post",
        data
    })
}